#ifndef __WZLIB_LISTFILE_H
#define __WZLIB_LISTFILE_H
#include "WZLibConfig.h"

#include <string>
#include <vector>

#include "WZPrimitiveProperties.h"
#include "WZFile.h"
#include "WZBinaryReader.h"

namespace WZLib{
	class WZListFile:public WZFile{
	protected:
		std::vector<WZStringProperty*>			_entries;
		char									peek();
	public:
		//Constructor
		ctor									WZListFile(std::string filePath,short gameVersion=-1);
		//Destructor
		dtor									~WZListFile();
		//Methods
		ErrorCode								parse(WZBinaryReader* reader=NULL);
		//Getters/Setters
		const std::vector<WZStringProperty*>&	entries();
	};
};

#endif